import { IUser, IUserLogin } from '@/types/user.type'
import axios from '@/utils/request'


export const userLoginReq = (data: IUserLogin) => axios.post<any>('/users/login', data)

// 修改账号信息
export const userEditReq = (data: any) => axios.get('/users/edit', { params: data })